package com.plm.k8s.myk8sapi.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author 潘磊明
 * 版本号：1.0
 * 创建日期：2021/8/5 16:04
 */
@ConditionalOnProperty(prefix = "k8s.api", value = {"kubectlPath", "kubeConfig", "yamlParentPath"})
@EnableConfigurationProperties(K8sApiProperties.class)
@ComponentScan(basePackages = "com.plm.k8s.myk8sapi")
@Configuration
public class K8sAutoConfiguration {

}
